package com.api.gbhg.liuwenbo.version2.test;

import com.alibaba.fastjson.JSON;
import com.api.gbhg.liuwenbo.version2.api.BudgetSectionIncomeApi2;
import com.api.gbhg.liuwenbo.version2.api.FinancialAppropriationApi;
import com.api.gbhg.liuwenbo.version2.api.YearInAndOutBudgetApi;
import weaver.general.GCONST;

import java.util.*;

/**
 * @Description
 * @Author
 * @Date
 */
public class demo1 {
    public static final int AAA = 123;
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();

        List<String> list2= Arrays.asList("One",
                "Two",
                "Three",
                "Four",
                "Five");

        System.out.println(String.join(",",list));

        String rootPath = "E:\\WEAVER9\\ecology\\";
        GCONST.setRootPath(rootPath);
        GCONST.setServerName("ecology");

        FinancialAppropriationApi api = new FinancialAppropriationApi();
        //YearInAndOutBudgetApi api = new YearInAndOutBudgetApi();
        //BudgetSectionIncomeApi2 api = new BudgetSectionIncomeApi2();
        Map param = new HashMap();
        param.put("nf","2022");
        param.put("jz","yqndsjjzje");
        param.put("type","1");
        System.out.println(api.getFinancialAppropriationList(param));
        //System.out.println(api.getYearInAndOutBudget(param));
        //System.out.println(api.getBudgetIncomeList(param));
    }
}
